#!usr/bin/env python  
# -*- coding:utf-8 _*-
""" 
@author:robot
@file: use_yaml.py 
@version:
@time: 2022/01/14 
"""
from pprint import pprint
import yaml
from TapClientCore.T01_init_conf.path_conf import PathConf


def read_yaml(path):
    with open(path, 'r', encoding='utf-8') as f:
        return yaml.safe_load(f.read())


if __name__ == '__main__':
    path = f'{PathConf.PROJECT_PATH}/TapClientCaseData/ConnectorData/static/DDL/DDL01TapMysql/TYPE.yml'

    pprint(read_yaml(path))
